package jp.ac.bunkyo.pro1b.lesson8;

class Student extends Person{

	String myName;
	int age;
	String myId;

	public Student(String name){
		super(name);
		//myName = name;

		System.out.println("Hello my name is "+myName+"!");
	}

	public Student(String id, String name){
		super(name);
		this.myId = id;

		System.out.println("My student ID is "+this.myId+".");
	}

	public String getName(){
		return myName;
	}

	public int getAge(){
		return age;
	}

	public void setAge(int input_age){
		age = input_age;
	}

}
